HTMLify

index.html
Views: 68 | Author: cody
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>Pure CSS No SVG Dark Mode Toggle</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" type="text/css" media="screen" href="style.css" />
  </head>

  <body>
    <input type="checkbox" class="input-control" id="darkmode-toggle" />

    <label for="darkmode-toggle" class="toggle">
      <span>Toggle dark mode</span>
    </label>
  </body>
</html>

Comments